import request from '@/utils/request';


export function pagesForAPI(data: any) {
  return request({
    url: '/api/v1/itester/pages',
    method: 'get',
    params: data
  });
}

export function listForAPI(data: any) {
  return request({
    url: '/api/v1/itester/list',
    method: 'post',
    data: data
  });
}

export function saveForAPI(data: any) {
  return request({
    url: '/api/v1/itester/save',
    method: 'post',
    data: data
  });
}


export function deleteForAPI(data: any) {
  return request({
    url: '/api/v1/itester/delete',
    method: 'post',
    data: data
  });
}



export function getForAPI(data: any) {
  return request({
    url: '/api/v1/itester/get',
    method: 'post',
    data: data
  });
}

export function copyForAPI(data: any) {
  return request({
    url: '/api/v1/itester/copy',
    method: 'post',
    data: data
  });
}

export function listForAPIByVersion(data: any) {
  return request({
    url: '/api/v1/itester/listByVersion',
    method: 'post',
    data: data
  });
}

